<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>


	<body bgcolor='#87CEEB'>
		<table align="center">
			<tr>
				<td colspan="1" width="900" height="140" valign="top">
					<img src="<%=request.getContextPath() + "/images/dishhead.jpeg"%>"
						align="top" height="190" width="1000" />
				</td>
			</tr>
	
		
		</table>
		<table width="1000">

			<%
				if (session.getAttribute("role") != null) {
					if (session.getAttribute("role").equals("Admin"))

					{
			%>
			<jsp:include page="adminmenu.jsp" />

			<%
				} else if (session.getAttribute("role").equals("Operator")) {
			%>

			<jsp:include page="Operatormenu.jsp" />
			<%
				} else if(session.getAttribute("role").equals("Customer")){
			%>
			<jsp:include page="Customermenu.jsp" />
			<%
				}
				else {
			%>
			<jsp:include page="menubeforelogin.jsp" />
			<%
				}
				
				} else {
			%>
			<jsp:include page="menubeforelogin.jsp" />
			<%
				}
			%>
		</table>
		<br />
		<br />
		<center>
			<%
				if (request.getParameter("status") != null) {
			%>
			<strong><font color=red><%=request.getParameter("status")%></font>
			</strong>
			<%
				}
			%>

		</center>
	</body>
</html>
